/*
 * table_CppMacroCtrl_t.h
 *
 *  Created on: 2012/04/01
 *      Author: guanxiaoying
 */

#ifndef TABLE_CPPMACROCTRL_T_H_
#define TABLE_CPPMACROCTRL_T_H_

typedef struct _CPPMACROCTRL_ACCESS{
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	AST  (*getMax)( VOID );
	BOOL   (*findMacro)( PSZ name, AST * );
	S4   (*addMacro)( AST );
	ACCESS_IDX_FIELD macroInfo;
	ACCESS_RBTREE  * rbtree;
}CPPMACROCTRL_ACCESS;
extern const CPPMACROCTRL_ACCESS stCppMacroCtrlAccess;

#endif /* TABLE_CPPMACROCTRL_T_H_ */
